<script setup lang="ts">
import * as echarts from 'echarts';
import { ref, onMounted, onBeforeUnmount } from "vue";
import short from './short.vue'
import middle from './middle.vue'
import Long from './Long.vue'
import Sortable from 'sortablejs';

type ComponentType = typeof short | typeof middle | typeof Long;

const tabs = {
  short,
  Long,
  middle
} as Record<string, ComponentType>;

// 其他代码保持不变...
</script>